<?php
	$u = 'root';
  	$p = 'titmouse';

  	try {
  		  	$dbh = new PDO('mysql:host=127.0.0.1;port=3306;dbname=moonland_beeline', $u, $p);
   	 		foreach($dbh->query('SELECT * FROM finders') as $row) {
   	 		    print "{$row['first_nm']} {$row['last_nm']}<br/>";
    		}
    	$dbh = null;
  	}
  	catch (PDOException $e) {
    	print "<font color='red'>ERROR:</font>&nbsp;" . $e->getMessage() . "<br/>";
    	die();
  	}
?>
